package ca.newcommerce.youtube.data
{

    public class AuthorData extends AbstractData
    {
        protected var _data:Object;

        public function AuthorData(param1:Object)
        {
            this._data = param1;
            return;
        }// end function

        public function get username() : String
        {
            var _loc_1:* = this.uri;
            return _loc_1.substr((_loc_1.lastIndexOf("/") + 1));
        }// end function

        public function get name() : String
        {
            return fromObj(this._data, "name");
        }// end function

        public function get uri() : String
        {
            return fromObj(this._data, "uri");
        }// end function

    }
}
